package com.ysp.summary;


import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.util.ClassUtils;
import tk.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;



/**
 * @author Administrator
 */
@EnableAsync
@SpringBootApplication
@MapperScan(basePackages = {"com.ysp.summary.mapper"})
@org.mybatis.spring.annotation.MapperScan(basePackages = {"com.ysp.summary.mapper"})
public class SummaryApplication {

    public static void main(String[] args){
        System.setProperty("jasypt.encryptor.password","yangsp@1991");
        ClassLoader classLoader = ClassUtils.getDefaultClassLoader();
        System.out.println("父类加载器："+classLoader.getParent().toString());
        System.out.println("当前类加载器："+classLoader.getClass().toString());
        SpringApplication.run(SummaryApplication.class, args);
    }

}
